package cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.commodity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 商品 Excel VO
 *
 * @author 沣东养老院管理员
 */
@Data
public class CommodityExcelVO {

    @ExcelProperty("编号")
    private Long id;

    @ExcelProperty(value = "商品类型", converter = DictConvert.class)
    @DictFormat("commodity_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Long type;

    @ExcelProperty("商品名称")
    private String name;

    @ExcelProperty("广告图")
    private String imageurls;

    @ExcelProperty("商品所属分类")
    private Long categoryId;

    @ExcelProperty("详情")
    private String content;

    @ExcelProperty("积分")
    private Long point;

    @ExcelProperty("库存")
    private Long inventory;

    @ExcelProperty("出售数量")
    private Long sellNum;

    @ExcelProperty( "时长 ")
    private Long duration;

    @ExcelProperty( "店铺id ")
    private Long storeId;


    @ExcelProperty(value = "状态 ", converter = DictConvert.class)
    @DictFormat("commodity_status") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Long status;

    @ExcelProperty("其他信息")
    private String others;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
